home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Macademic for Students & Teachers
/
Macademic for Students and Teachers (Quantum Leap)(1992).iso
/
Writing
/
Story Writer
/
card_3591.txt
< prev
next >
Wrap
Text File
|
1987-12-28
|
4KB
|
182 lines
-- card: 3591 from stack: in
-- bmap block id: 7152
-- flags: 0000
-- background id: 2747
-- name: show story
-- part 2 (field)
-- low flags: 01
-- high flags: 0004
-- rect: left=109 top=30 right=61 bottom=500
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 36
-- text size: 18
-- style flags: 0
-- line height: 24
-- part name: title
-- part 1 (field)
-- low flags: 01
-- high flags: 0007
-- rect: left=108 top=70 right=332 bottom=503
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 192
-- text size: 10
-- style flags: 0
-- line height: 13
-- part name: final
-- part 3 (button)
-- low flags: 00
-- high flags: 8003
-- rect: left=4 top=309 right=331 bottom=104
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Quit
----- HyperTalk script -----
on mouseUp
answer "Quit HyperCard or go Home?" with "Cancel" or "Quit" or "Go Home"
if it is "Go Home" then
go home
exit mouseUp
end if
if it is "cancel" then exit mouseUp
else visual effect zoom in
domenu "Quit Hypercard"
end mouseUp
-- part 4 (button)
-- low flags: 00
-- high flags: 8003
-- rect: left=4 top=174 right=196 bottom=104
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Instructions
----- HyperTalk script -----
on mouseUp
push card
visual effect iris open
go to card "instructions"
end mouseUp
-- part 5 (button)
-- low flags: 00
-- high flags: 8003
-- rect: left=4 top=148 right=170 bottom=104
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: New Story
----- HyperTalk script -----
on mouseUp
answer "You want to write a new story?" with "No" or "Yes"
If it is "yes" then
get empty
put it into card field "title" of card "title"
put it into card field "character" of card "title"
put it into card field "theme" of card "title"
go to card "title"
end if
end mouseUp
-- part 7 (button)
-- low flags: 00
-- high flags: 8003
-- rect: left=4 top=122 right=144 bottom=104
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Keep Story
----- HyperTalk script -----
on mouseUp
beep 2
answer "Warning: This may delete another story!" with "Instructions" or "Go ahead…" or "Then stop!"
if it is "Instructions" then
push card
visual effect iris open
go to card "K"
exit mouseUp
end if
if it is "Then stop!" then exit mouseUp
answer "Save this story as..." with "Story 1" or "Story 2" or "Story 3"
put card field "title" into field "title" of card it
put card field "final" into field "story" of card it
put the long date into field "date" of card it
visual effect venetian blinds
go to card it
end mouseUp
-- part 8 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=57 top=56 right=97 bottom=101
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
----- HyperTalk script -----
on mouseUp
visual effect wipe left
go to card id 5009
end mouseUp
-- part 9 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=8 top=57 right=98 bottom=52
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
----- HyperTalk script -----
on mouseUp
visual effect wipe right
go to card id 6329
end mouseUp